public class variabledemo2{
	public static void main(String[] args){
		//byte
		byte b = 10;
		//short
		short s = 20;
		//int
		int i = 30;
		//long
		//如果要定义long类型的变量,在数据值后面需要加一个L作为后缀,建议写大写
		long n = 999999999L;
		
		
		//float
		//定义float类型变量时,数据值也需要加一个F作为后缀
		float f = 12.3F;
		//double
		double d = 34.5;
		
		//char
		char g = '中';
		
		//boolean
		boolean o = true;
	}
}